Developer Documentation

QuickTime 4 API Documentation

3D Graphics Programming with QuickDraw 3D 1.5.4

Previous | QD3D Book | Overview | Chapter Contents | Next |

Fill Styles

A model's fill style determines whether an object is drawn as a solid filled object or is drawn as a set of edges or points. QuickDraw 3D defines constants for the fill styles that are currently available.

typedef enum TQ3FillStyle {
    kQ3FillStyleFilled,
    kQ3FillStyleEdges,
    kQ3FillStylePoints
} TQ3FillStyle;

The default value, kQ3FillStyleFilled , specifies that the renderer should draw shapes as solid filled objects. The constant kQ3FillStyleEdges specifies that the renderer should draw shapes as the sets of lines that define the edges of the surfaces rather than as filled shapes. The constant kQ3FillStylePoints specifies that the renderer should draw shapes as the sets of points that define the vertices of the surfaces. This fill style is used primarily to accelerate the rendering of very complex shapes.


© 1997 Apple Computer, Inc.

Previous | QD3D Book | Overview | Chapter Contents | Next |